package com.gc.server.vo.down;


import lombok.Data;
import java.util.Date;
import com.alibaba.excel.annotation.*;
import java.io.Serializable;


import java.math.BigDecimal;

import com.gc.server.entity.ScoreItemEntity;
import com.gc.server.vo.ScoreItemVo;

                    
/**
 * 评分项实体
 * 表名 score_item
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Tue Oct 20 15:00:09 CST 2020
 */
@Data
public class ScoreItemDown implements Serializable {
    @ExcelIgnore
    private static final long serialVersionUID = 1L;

                        //
            @ExcelProperty("")
            private Long id;
        
                        //名称
            @ExcelProperty("名称")
            private String name;
        
                        //值
            @ExcelProperty("值")
            private String val;
        
                        //总分
            @ExcelProperty("总分")
            private BigDecimal score;
        
                        //备注
            @ExcelProperty("备注")
            private String remark;
        
    
    public ScoreItemDown() {

    }

    public ScoreItemDown(ScoreItemVo vo) {
        ScoreItemEntity entity = vo.getEntity();
                                    this.setId(entity.getId());
            
                                    this.setName(entity.getName());
            
                                    this.setVal(entity.getVal());
            
                                    this.setScore(entity.getScore());
            
                                    this.setRemark(entity.getRemark());
            
            }


}
